package com.bawei.mall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bawei.mall.product.domain.Po.Car;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.mall.search.mapper
 * @Project：mall_cloud
 * @name：ShoppingCartMapper
 */
public interface CCarMapper extends BaseMapper<Car> {
    List<Car> list();
    void add(Car car);

    void clear();

    void quantity(@Param("id") Integer id, @Param("quantity") Integer quantity);

    List<Car> findlist(@Param("cartIds") Integer[] cartIds);


    void deleteId(@Param("cartIds") Integer[] cartIds);

}
